package com.mt.channel.mapper;

import java.util.List;
import java.util.Map;

import com.mt.channel.entity.ChannelEntity;

public interface ChannelEntityMapper {
    int deleteByPrimaryKey(Integer channelId);

    int insert(ChannelEntity record);

    List<ChannelEntity> selectList(Map<String, Object> params);

    ChannelEntity selectByPrimaryKey(Map<String, Object> params);

    int updateByPrimaryKeySelective(ChannelEntity record);

    int selectChannelSumCoursePayCounts(Map<String, Object> params);

    /**
     * 逻辑删除
     * @param channelId
     * @return
     */
    int updateByPrimaryKey(Integer channelId);

}